package com.ruoyi.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单执行记录对象 proc_order_execution
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public class ProcOrderExecution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 执行记录ID */
    private Long executionId;

    /** 采购订单ID */
    @Excel(name = "采购订单ID")
    private Long orderId;

    /** 执行日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "执行日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionDate;

    /** 执行人 */
    @Excel(name = "执行人")
    private String executor;

    /** 执行备注 */
    @Excel(name = "执行备注")
    private String executionRemark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setExecutionId(Long executionId) 
    {
        this.executionId = executionId;
    }

    public Long getExecutionId() 
    {
        return executionId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setExecutionDate(Date executionDate) 
    {
        this.executionDate = executionDate;
    }

    public Date getExecutionDate() 
    {
        return executionDate;
    }

    public void setExecutor(String executor) 
    {
        this.executor = executor;
    }

    public String getExecutor() 
    {
        return executor;
    }

    public void setExecutionRemark(String executionRemark) 
    {
        this.executionRemark = executionRemark;
    }

    public String getExecutionRemark() 
    {
        return executionRemark;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("executionId", getExecutionId())
            .append("orderId", getOrderId())
            .append("executionDate", getExecutionDate())
            .append("executor", getExecutor())
            .append("executionRemark", getExecutionRemark())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
